package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单详情对象 sys_form_detail
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class SysFormDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 详情记录ID */
    private Long detailRecordId;

    /** 检查ID */
    @Excel(name = "检查ID")
    private Long inspectionId;

    /** 详情ID */
    @Excel(name = "详情ID")
    private Long detailId;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problem;

    /** 表头ID */
    @Excel(name = "表头ID")
    private Long headId;

    public void setDetailRecordId(Long detailRecordId) 
    {
        this.detailRecordId = detailRecordId;
    }

    public Long getDetailRecordId() 
    {
        return detailRecordId;
    }

    public void setInspectionId(Long inspectionId) 
    {
        this.inspectionId = inspectionId;
    }

    public Long getInspectionId() 
    {
        return inspectionId;
    }

    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }

    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }

    public void setHeadId(Long headId) 
    {
        this.headId = headId;
    }

    public Long getHeadId() 
    {
        return headId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailRecordId", getDetailRecordId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("inspectionId", getInspectionId())
            .append("detailId", getDetailId())
            .append("problem", getProblem())
            .append("headId", getHeadId())
            .toString();
    }
}
